/**
    ******************************************************************************
    * @file    bankManager.h
    * @author  debian
    * @version V1.0.0
    * @date    2020-01-21
    * @brief   银行行长类
    ******************************************************************************
    * @attention
    *
    *
    ******************************************************************************
    */ 

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __BANKMANAGER_H
#define __BANKMANAGER_H

#ifdef __cplusplus
    extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/


/** @addtogroup BankManager
    * @{
    */
class BankManager : public Handler
{
public:
     BankManager(Handler *next) : Handler(next) {
        printf("BankManager\n");
        set_max_loan(max_loan);
    }

    // void show() {
    //     printf("BankManager %p %d\n", next_handler, max_loan);
    // }
protected:
    unsigned int max_loan = 100;
};


/* Exported types ------------------------------------------------------------*/
/** @defgroup 
    * @{
    */ 



/**
    * @}
    */


/* Exported constants --------------------------------------------------------*/

/* Exported macro ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/ 


/**
    * @}
    */

#ifdef __cplusplus
}
#endif

#endif /* __BANKMANAGER_H */

/******************* (C) 2020 HOME 深圳龙华 *****END OF FILE****/

